package com.ruoyi.yard.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.yard.domain.DeliveryPlanInfo;

/**
 * 发货计划Service接口
 * 
 * @author ruoyi
 * @date 2022-09-05
 */
public interface IDeliveryPlanInfoService 
{
    /**
     * 查询发货计划
     * 
     * @param id 发货计划主键
     * @return 发货计划
     */
    public DeliveryPlanInfo selectDeliveryPlanInfoById(Long id);

    /**
     * 查询发货计划列表
     * 
     * @param deliveryPlanInfo 发货计划
     * @return 发货计划集合
     */
    public List<DeliveryPlanInfo> selectDeliveryPlanInfoList(DeliveryPlanInfo deliveryPlanInfo);

    /**
     * 新增发货计划
     * 
     * @param deliveryPlanInfo 发货计划
     * @return 结果
     */
    public int insertDeliveryPlanInfo(DeliveryPlanInfo deliveryPlanInfo);

    /**
     * 修改发货计划
     * 
     * @param deliveryPlanInfo 发货计划
     * @return 结果
     */
    public int updateDeliveryPlanInfo(DeliveryPlanInfo deliveryPlanInfo);

    /**
     * 批量删除发货计划
     * 
     * @param ids 需要删除的发货计划主键集合
     * @return 结果
     */
    public int deleteDeliveryPlanInfoByIds(Long[] ids);

    /**
     * 删除发货计划信息
     * 
     * @param id 发货计划主键
     * @return 结果
     */
    public int deleteDeliveryPlanInfoById(Long id);

    List<DeliveryPlanInfo> homePageList(DeliveryPlanInfo deliveryPlanInfo);

    int toExamine(JSONObject params );
}
